Don't try and print out the info returned by the server after a restore -- there
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 7 Dec 2005 16:26:07 +0000 (16:26 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 7 Dec 2005 16:26:07 +0000 (16:26 +0000)
isn't any.  Don't try and unpause the restored domain either -- XendCheckpoint
does that.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/main.py

index 106a3fd4adf6c727f1cfdcdf57dd6cd948dfe7fa..4b173e88c43fd5e59a82b75990e1cb970a3d31a8 100644 (file)
@@ -321,11 +321,7 @@ def xm_restore(args):
         sys.exit(1)
 
     from xen.xend.XendClient import server
-    info = server.xend_domain_restore(savefile)
-    PrettyPrint.prettyprint(info)
-    id = sxp.child_value(info, 'domid')
-    if id is not None:
-        server.xend_domain_unpause(domid)
+    server.xend_domain_restore(savefile)
 
 
 def getDomains(domain_names):